﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Backend.Actions;

namespace Backend.Items
{
    abstract class GameItem
    {
        private string m_sItemname;

        public virtual string ItemName
        {
            get
            {
                return m_sItemname;
            }
            set
            {
                m_sItemname = value;
            }
        }

        protected List<GameItem> m_Items;

        public virtual List<GameItem> Items
        {
            get
            {
                return m_Items;
            }
        }

        public GameItem()
        {
            m_Items = null;
        }

        public abstract void AddItem(GameItem Item);
        public abstract void RemoveItem(GameItem Item);
        public abstract void ExecuteAction();
    }
}
